projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf551cf
)
(after-find-file): Disable View mode if buffer is no
author
Karl Heuer
<kwzh@gnu.org>
Tue, 10 Aug 1999 16:40:14 +0000
(16:40 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 10 Aug 1999 16:40:14 +0000
(16:40 +0000)
longer read-only.
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 0c5fc6b7e038e47e2d3e93fc5ada6aa3fc26ffe1..d3d9a20cd12f390c4c700167c370a457e14cf607 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-1195,6
+1195,8
@@
unless NOMODES is non-nil."
(auto-save-mode t)))
(if nomodes
nil
+ (and view-read-only view-mode
+ (view-mode-disable))
(normal-mode t)
(if (and buffer-read-only view-read-only
(not (eq (get major-mode 'mode-class) 'special)))